package com.piece.blog.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(value = "考试试卷模型")
public class TrainingExamDTO implements Serializable {

    @ApiModelProperty(value = "试卷ID")
    private Long examId;

    @ApiModelProperty(value = "课程ID")
    private Long courseId;

    @ApiModelProperty(value = "考试标题")
    private String title;

    @ApiModelProperty(value = "考试介绍")
    private String introduce;

    @ApiModelProperty(value = "成绩")
    private Long score;

    @ApiModelProperty(value = "试卷题目列表")
    private List<TrainingQuestionDTO> questions;
}
